---
sidebar_position: 2
toc_min_heading_level: 2
toc_max_heading_level: 2
---

# FriendshipListener

## 模块概览

:::info

好友关系链相关回调

:::

| 模块名称                              | 模块功能简介 |
| ------------------------------------- | ------------ |
| [onFriendApplicationAdded](docs/sdks/Callback/onFriendApplicationAdded.mdx)       | 好友申请新增通知 |
| [onFriendApplicationRejected](docs/sdks/Callback/onFriendApplicationRejected.mdx) | 好友申请被拒绝   |
| [onFriendApplicationAccepted](docs/sdks/Callback/onFriendApplicationAccepted.mdx) | 好友申请被接受   |
| [onFriendApplicationDeleted](docs/sdks/Callback/onFriendApplicationDeleted.mdx)   | 好友申请被删除   |
| [onFriendAdded](docs/sdks/Callback/onFriendAdded.mdx)                             | 好友新增通知     |
| [onFriendDeleted](docs/sdks/Callback/onFriendDeleted.mdx)                         | 好友删除通知     |
| [onFriendInfoChanged](docs/sdks/Callback/onFriendInfoChanged.mdx)                 | 好友资料变更通知 |
| [onBlackAdded](docs/sdks/Callback/onBlackAdded.mdx)                               | 黑名单新增通知   |
| [onBlackDeleted](docs/sdks/Callback/onBlackDeleted.mdx)                           | 黑名单删除通知   |
